package com.ruoyi.quartz.service;

import java.util.Date;
import java.util.List;
import com.ruoyi.quartz.domain.CgImportMainDetail;

/**
 * CgImportMainDetailService接口
 * 
 * @author SYF
 * @date 2025-04-28
 */
public interface ICgImportMainDetailService 
{
    /**
     * 查询CgImportMainDetail
     * 
     * @param updateTime CgImportMainDetail主键
     * @return CgImportMainDetail
     */
    public CgImportMainDetail selectCgImportMainDetailByUpdateTime(Date updateTime);

    /**
     * 查询CgImportMainDetail列表
     * 
     * @param cgImportMainDetail CgImportMainDetail
     * @return CgImportMainDetail集合
     */
    public List<CgImportMainDetail> selectCgImportMainDetailList(CgImportMainDetail cgImportMainDetail);

    /**
     * 新增CgImportMainDetail
     * 
     * @param cgImportMainDetail CgImportMainDetail
     * @return 结果
     */
    public int insertCgImportMainDetail(CgImportMainDetail cgImportMainDetail);

    /**
     * 修改CgImportMainDetail
     * 
     * @param cgImportMainDetail CgImportMainDetail
     * @return 结果
     */
    public int updateCgImportMainDetail(CgImportMainDetail cgImportMainDetail);

    /**
     * 批量删除CgImportMainDetail
     * 
     * @param updateTimes 需要删除的CgImportMainDetail主键集合
     * @return 结果
     */
    public int deleteCgImportMainDetailByUpdateTimes(Date[] updateTimes);

    /**
     * 删除CgImportMainDetail信息
     * 
     * @param updateTime CgImportMainDetail主键
     * @return 结果
     */
    public int deleteCgImportMainDetailByUpdateTime(Date updateTime);

    public int deleteCgImportMainDetailByYear(String year);
}
